﻿using lBLL;
using lDAL;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL
{
    public class HoteBLL: lHoteBLL
    {
        public HoteBLL(lUserDAL<Hoteinfor> db)
        {
            Db = db;
        }

        public lUserDAL<Hoteinfor> Db { get; }

        public List<Hoteinfor> Show()
        {
            return Db.GetAllAsync().ToList();
        }
    }
}
